package com.yf1706.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.yf1706.comm.RowMapper;
public class orderRowMapper implements RowMapper<orderbean>{
	
	@Override
	public orderbean mapper(ResultSet rs) throws SQLException {
		orderbean order=new orderbean();
		order.setOid(rs.getInt("oid"));
		order.setUid(rs.getInt("uid"));
		order.setOpay(rs.getString("opay"));
		order.setOdeliver(rs.getString("odeliver"));
		order.setOpeople(rs.getString("opeople"));
		order.setOtime(rs.getDate("otime"));
		order.setOphone(rs.getString("ophone"));
		order.setOsprice(rs.getDouble("osprice"));
		order.setOadmin(rs.getString("oadmin"));
		return order;
	}
}
